QT      += core gui network sql qml quick concurrent  widgets  xml webview quickwidgets dbus
greaterThan(QT_MAJOR_VERSION,5):QT += core5compat
CONFIG  += c++2a plugin
DESTDIR = ../../../../dist/plugins
TARGET  = sailmipim_plugin_multiplayer
TEMPLATE = lib

DEFINES += SAILMIPIM_MULTIPLAYER_EXPORTS _HAS_DEPRECATED_RESULT_OF

CONFIG += file_copies
#res.files = $$PWD/resources
share.files = $$PWD/share
set.files = $$PWD/settings
local.files = $$PWD/locales
#icon.fiels = $$PWD/icons
#res.path = $$DESTDIR/../
share.path = $$DESTDIR/../
set.path = $$DESTDIR/../
local.path = $$DESTDIR/../
#icon.path = $$DESTDIR/../
COPIES += share set local

INCLUDEPATH += D:/Programs/vcpkg/packages/gstreamer_x64-windows/include/gstreamer-1.0 \
                D:/Programs/vcpkg/packages/taglib_x64-windows/include    \
                D:/Programs/vcpkg/packages/glib_x64-windows/lib/glib-2.0/include   \
                D:/Programs/vcpkg/packages/glib_x64-windows/include/glib-2.0   \
                ../../../interfaces                            \
                ../../../util/sailmipim_util_core                     \
               ../../../util/sailmipim_util_tags                      \
               ../../../util/sailmipim_util_xpc                       \
               ../../../util/sailmipim_util_threads                   \
               ../../../util/sailmipim_util_sys                       \
               ../../../util/sailmipim_util_qml                       \
               ../../../util/sailmipim_util_gui                       \
               ../../../util/sailmipim_util_models                    \
               ../../../util/sailmipim_util_sll                       \
               ../../../util/sailmipim_util_db                        \
               ../../../util/sailmipim_util_network                   \
               ../../../util/sailmipim_util_xsd                       \
               ../../../xsd                                    \
               ../interfaces                                   \
               ../utils/multiplayer_util                               \

LIBS += -L../../../../dist                                      \
        -L../../../../dist/plugins                           \
        -LD:/Programs/vcpkg/packages/gstreamer_x64-windows/lib  \
        -LD:/Programs/vcpkg/packages/taglib_x64-windows/lib     \
        -LD:/Programs/vcpkg/packages/glib_x64-windows/lib       \
        -lsailmipim_util_core              \
        -lsailmipim_util_tags              \
        -lsailmipim_util_gui               \
        -lsailmipim_util_models            \
        -lsailmipim_util_sll               \
        -lsailmipim_util_sys               \
        -lsailmipim_util_qml               \
        -lsailmipim_util_xpc               \
        -lsailmipim_util_xsd               \
        -lsailmipim_util_db                \
        -lsailmipim_util_network           \
        -lsailmipim_util_threads           \
        -lsailmipim_multiplayer_util                 \
        -lsailmipim_xsd                    \
        -ltag                       \
        -lgstreamer-1.0             \
        -lglib-2.0                  \
        -lgobject-2.0

RESOURCES +=                        \
    resources.qrc

FORMS += \
    albumartmanagerdialog.ui \
    artistbrowsertab.ui \
    audiopropswidget.ui \
    biowidget.ui \
    collectionstatsdialog.ui \
    collectionwidget.ui \
    eventswidget.ui \
    fsbrowserwidget.ui \
    hypeswidget.ui \
    nowplayingwidget.ui \
    playertab.ui \
    playlistwidget.ui \
    plmanagerwidget.ui \
    radiocustomdialog.ui \
    radiotracksgrabdialog.ui \
    radiowidget.ui \
    recommendationswidget.ui \
    releaseswidget.ui \
    seekslider.ui \
    sortingcriteriadialog.ui \
    sync/cloudwidget.ui \
    sync/devicesbrowserwidget.ui \
    sync/transcodingparamswidget.ui \
    volumeslider.ui

DISTFILES += \
    sailmipim_smp_en.ts \
    smpfilterrgsettings.xml \
    smpsettings.xml \
    mpris/org.mpris.MediaPlayer2.Player.xml \
    mpris/org.mpris.MediaPlayer2.xml \
    resources/images/smp.svg \
    resources/images/smp_artist_browser.svg \
    resources/templates/nptooltip.html \
    share/qml5/mulitplayer/ArtistBrowserView.qml \
    share/qml5/mulitplayer/BioView.qml \
    share/qml5/mulitplayer/BrowseButton.qml \
    share/qml5/mulitplayer/EventsView.qml \
    share/qml5/mulitplayer/HypesView.qml \
    share/qml5/mulitplayer/SMPScrollStyle.qml \
    share/qml5/mulitplayer/ReleasesView.qml \
    share/qml5/mulitplayer/SimilarView.qml \
    share/qml5/mulitplayer/StdArtistActions.qml \
    share/qml5/mulitplayer/TextButton.qml \
    share/qml5/mulitplayer/TrackListContainer.qml

HEADERS += \
    aalabeleventfilter.h \
    albumartmanager.h \
    albumartmanagerdialog.h \
    artistbrowsertab.h \
    audiopropswidget.h \
    biopropproxy.h \
    bioviewmanager.h \
    biowidget.h \
    collectiondelegate.h \
    collectionnormalizer.h \
    collectionsmanager.h \
    collectionsortermodel.h \
    collectionstatsdialog.h \
    collectionwidget.h \
    core.h \
    diaginfocollector.h \
    effectsmanager.h \
    engine/audiosource.h \
    engine/output.h \
    engine/path.h \
    engine/pathelement.h \
    engine/rganalyser.h \
    engine/rgfilter.h \
    engine/sourceobject.h \
    eventswidget.h \
    fsbrowserwidget.h \
    fsmodel.h \
    gstfix.h \
    hookinterconnector.h \
    hypeswidget.h \
    literals.h \
    multiplayer.h \
    multiplayerproxy.h \
    localcollection.h \
    localcollectionmodel.h \
    localcollectionstorage.h \
    localcollectionwatcher.h \
    localfileresolver.h \
    mpris/fdopropsadaptor.h \
    mpris/instance.h \
    mpris/mediaplayer2adaptor.h \
    mpris/playeradaptor.h \
    multiplayersystemtrayicon.h \
    nativeplaylist.h \
    notificationplayer.h \
    nowplayingpixmaphandler.h \
    nowplayingwidget.h \
    npstateupdater.h \
    nptooltiphook.h \
    palettefixerfilter.h \
    player.h \
    playerrulesmanager.h \
    playertab.h \
    playlistdelegate.h \
    playlistmanager.h \
    playlistmodel.h \
    playlistparsers/commonpl.h \
    playlistparsers/m3u.h \
    playlistparsers/playlist.h \
    playlistparsers/playlistfactory.h \
    playlistparsers/pls.h \
    playlistparsers/xspf.h \
    playlistundocommand.h \
    playlistwidget.h \
    playlistwidgetviewexpander.h \
    plmanagerwidget.h \
    previewcharacteristicinfo.h \
    progressmanager.h \
    radiocustomdialog.h \
    radiocustomstation.h \
    radiocustomstreams.h \
    radiomanager.h \
    radiopilesmanager.h \
    radiotracksgrabdialog.h \
    radiowidget.h \
    recommendationswidget.h \
    recursivedirwatcher.h \
    recursivedirwatcher_generic.h \
    releaseswidget.h \
    rganalysismanager.h \
    rgfiltercontroller.h \
    rootpathsettingsmanager.h \
    seekslider.h \
    similarmodel.h \
    similarview.h \
    similarviewmanager.h \
    sortingcriteria.h \
    sortingcriteriadialog.h \
    sourceerrorhandler.h \
    staticplaylistmanager.h \
    stdartistactionsmanager.h \
    sync/clouduploader.h \
    sync/clouduploadmanager.h \
    sync/cloudwidget.h \
    sync/copymanager.h \
    sync/devicesbrowserwidget.h \
    sync/formats.h \
    sync/syncmanager.h \
    sync/syncmanagerbase.h \
    sync/syncunmountablemanager.h \
    sync/transcodejob.h \
    sync/transcodemanager.h \
    sync/transcodingparams.h \
    sync/transcodingparamswidget.h \
    sync/unmountabledevmanager.h \
    sync/uploadmodel.h \
    util.h \
    volumenotifycontroller.h \
    volumeslider.h \
    xmlsettingsmanager.h

SOURCES += \
    aalabeleventfilter.cpp \
    albumartmanager.cpp \
    albumartmanagerdialog.cpp \
    artistbrowsertab.cpp \
    audiopropswidget.cpp \
    biopropproxy.cpp \
    bioviewmanager.cpp \
    biowidget.cpp \
    collectiondelegate.cpp \
    collectionnormalizer.cpp \
    collectionsmanager.cpp \
    collectionsortermodel.cpp \
    collectionstatsdialog.cpp \
    collectiontypes.cpp \
    collectionwidget.cpp \
    core.cpp \
    diaginfocollector.cpp \
    effectsmanager.cpp \
    engine/audiosource.cpp \
    engine/output.cpp \
    engine/path.cpp \
    engine/pathelement.cpp \
    engine/rganalyser.cpp \
    engine/rgfilter.cpp \
    engine/sourceobject.cpp \
    eventswidget.cpp \
    fsbrowserwidget.cpp \
    fsmodel.cpp \
    hookinterconnector.cpp \
    hypeswidget.cpp \
    literals.cpp \
    multiplayer.cpp \
    multiplayerproxy.cpp \
    localcollection.cpp \
    localcollectionmodel.cpp \
    localcollectionstorage.cpp \
    localcollectionwatcher.cpp \
    localfileresolver.cpp \
    mpris/fdopropsadaptor.cpp \
    mpris/instance.cpp \
    mpris/mediaplayer2adaptor.cpp \
    mpris/playeradaptor.cpp \
    multiplayersystemtrayicon.cpp \
    nativeplaylist.cpp \
    notificationplayer.cpp \
    nowplayingpixmaphandler.cpp \
    nowplayingwidget.cpp \
    npstateupdater.cpp \
    nptooltiphook.cpp \
    palettefixerfilter.cpp \
    player.cpp \
    playerrulesmanager.cpp \
    playertab.cpp \
    playlistdelegate.cpp \
    playlistmanager.cpp \
    playlistmodel.cpp \
    playlistparsers/commonpl.cpp \
    playlistparsers/m3u.cpp \
    playlistparsers/playlist.cpp \
    playlistparsers/playlistfactory.cpp \
    playlistparsers/pls.cpp \
    playlistparsers/xspf.cpp \
    playlistundocommand.cpp \
    playlistwidget.cpp \
    playlistwidgetviewexpander.cpp \
    plmanagerwidget.cpp \
    previewcharacteristicinfo.cpp \
    progressmanager.cpp \
    radiocustomdialog.cpp \
    radiocustomstation.cpp \
    radiocustomstreams.cpp \
    radiomanager.cpp \
    radiopilesmanager.cpp \
    radiotracksgrabdialog.cpp \
    radiowidget.cpp \
    recommendationswidget.cpp \
    recursivedirwatcher.cpp \
    recursivedirwatcher_generic.cpp \
    releaseswidget.cpp \
    rganalysismanager.cpp \
    rgfiltercontroller.cpp \
    rootpathsettingsmanager.cpp \
    seekslider.cpp \
    similarmodel.cpp \
    similarview.cpp \
    similarviewmanager.cpp \
    sortingcriteria.cpp \
    sortingcriteriadialog.cpp \
    sourceerrorhandler.cpp \
    staticplaylistmanager.cpp \
    stdartistactionsmanager.cpp \
    sync/clouduploader.cpp \
    sync/clouduploadmanager.cpp \
    sync/cloudwidget.cpp \
    sync/copymanager.cpp \
    sync/devicesbrowserwidget.cpp \
    sync/formats.cpp \
    sync/syncmanager.cpp \
    sync/syncmanagerbase.cpp \
    sync/syncunmountablemanager.cpp \
    sync/transcodejob.cpp \
    sync/transcodemanager.cpp \
    sync/transcodingparams.cpp \
    sync/transcodingparamswidget.cpp \
    sync/unmountabledevmanager.cpp \
    sync/uploadmodel.cpp \
    util.cpp \
    volumenotifycontroller.cpp \
    volumeslider.cpp \
    xmlsettingsmanager.cpp






